package com.simple.piger.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author baolw
 */
public class DateUtils {
    public static String dateFormat(Date date, String pattern) {
        return new SimpleDateFormat(pattern).format(date);
    }
}
